added file processing

This does not yet set mdate/filename for a book though, but it comes close.