Add a few basic, missing file functions