Added the possibility to retrieve files from disk.