Restrict file types in load file