move fileindexer to utils and add functionality to remove files from index