refactor loops for archive
- scanner page updates
- file extension filter checks