Makes fix to autodetect moved files and use them in recovering.