Added displaying of file sizes
Corrected file_length function