Removing unnecessary files in main directory