Added: File class

Moved some code about files to file.py class