love.filesystem.newFile
Creates a new File object.

It needs to be opened before it can be accessed.
file = love.filesystem.newFile( filename )
filename string The filename of the file.
file File The new File object.
file, errorstr = love.filesystem.newFile( filename, mode )
filename string The filename of the file.
mode FileMode The mode to open the file in.
file File The new File object, or nil if an error occurred.
errorstr string The error string if an error occurred.