shortened file.open to one liner