Removed method, added filetype dictionary

Removed an old method for showing the file size of an object, added a
new method to check the extensions of the paths to give a better idea of
what kind of file it is.