Clean code of File class

Cleaning code of File and CSV_File classes