Make a simple interface to open file