more work done on the file manager. nearly finished