Cleaned old code

Also updated the config for the file manager