stub in archive function and add file checks to image loader