Move more file stuff to file.h

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2 files changed