Created FileManager class that performs all file manager activities.