renamed MediaFileManager to FileManager; proper errors for missing file; moved delete method from file objec; other fixes