new modules for file info retrieval and to set variables