Changed the way file loading works to work with Excel and be more robust.