File and filedata classes added aswell as file loading