Deleted unecessary files, and corrected an if with an if-not