Open files using first argument