Added the ability to map files and load non amd files.