added changes to move files to a different folder as they are indexed