Finished the new file management for the plugin