added modifiedageinfolder check
added support for really long filenames and improved error handling