Using remove function for all file removals