adds file scanning