added support to open files
added support to open files