added more infrastructure for File/Open