Changed to a File object as schematic file parameter