test loading file