File loading fixed