Added function to remove empty files