Fix retrieval of accepted files.