Moved FILE definition to new file
Added assert function
Starting io functions