File loading now working