Added ability to manually specify file type on .open - pre fork patch