Cleaned up files code to remove some comments