import os
import string
from os import listdir
from os.path import isfile, join


class Mounting:
    files = []
    path: string

    def __init__(self, path: string):
        if path != ".":
            if path[len(path) - 1] != "/":
                self.working_directory = path + "/"
            else:
                self.working_directory = path
        else:
            self.working_directory = ""
        self.path = path

    def list_files_in_directory(self, path=None):
        # Set Path
        if path is None:
            path = self.path
        # Recursive Go through Sub Directories
        list_result = []
        for directory, sub_directory, files in os.walk(path):
            list_result = list_result + [(directory[len(self.path):] + "/" + item) for item in files]
        # Reformat File Name
        list_result = [(item[1:] if item[0] == '/' else item) for item in list_result]
        return list_result

1a4cde4237ec1a1cd4dd995261c6f75312575684
<mask token>


class Mounting:
    <mask token>
    path: string
    <mask token>
    <mask token>

<mask token>


class Mounting:
    <mask token>
    path: string

    def __init__(self, path: string):
        if path != '.':
            if path[len(path) - 1] != '/':
                self.working_directory = path + '/'
            else:
                self.working_directory = path
        else:
            self.working_directory = ''
        self.path = path

    def list_files_in_directory(self, path=None):
        if path is None:
            path = self.path
        list_result = []
        for directory, sub_directory, files in os.walk(path):
            list_result = list_result + [(directory[len(self.path):] + '/' +
                item) for item in files]
        list_result = [(item[1:] if item[0] == '/' else item) for item in
            list_result]
        return list_result

<mask token>


class Mounting:
    files = []
    path: string

    def __init__(self, path: string):
        if path != '.':
            if path[len(path) - 1] != '/':
                self.working_directory = path + '/'
            else:
                self.working_directory = path
        else:
            self.working_directory = ''
        self.path = path

    def list_files_in_directory(self, path=None):
        if path is None:
            path = self.path
        list_result = []
        for directory, sub_directory, files in os.walk(path):
            list_result = list_result + [(directory[len(self.path):] + '/' +
                item) for item in files]
        list_result = [(item[1:] if item[0] == '/' else item) for item in
            list_result]
        return list_result

import os
import string
from os import listdir
from os.path import isfile, join


class Mounting:
    files = []
    path: string

    def __init__(self, path: string):
        if path != '.':
            if path[len(path) - 1] != '/':
                self.working_directory = path + '/'
            else:
                self.working_directory = path
        else:
            self.working_directory = ''
        self.path = path

    def list_files_in_directory(self, path=None):
        if path is None:
            path = self.path
        list_result = []
        for directory, sub_directory, files in os.walk(path):
            list_result = list_result + [(directory[len(self.path):] + '/' +
                item) for item in files]
        list_result = [(item[1:] if item[0] == '/' else item) for item in
            list_result]
        return list_result

import os
import string
from os import listdir
from os.path import isfile, join


class Mounting:
    files = []
    path: string

    def __init__(self, path: string):
        if path != ".":
            if path[len(path) - 1] != "/":
                self.working_directory = path + "/"
            else:
                self.working_directory = path
        else:
            self.working_directory = ""
        self.path = path

    def list_files_in_directory(self, path=None):
        # Set Path
        if path is None:
            path = self.path
        # Recursive Go through Sub Directories
        list_result = []
        for directory, sub_directory, files in os.walk(path):
            list_result = list_result + [(directory[len(self.path):] + "/" + item) for item in files]
        # Reformat File Name
        list_result = [(item[1:] if item[0] == '/' else item) for item in list_result]
        return list_result
