Fixed bug where external files could not be located in a subfolder.