Fixed bug where file URLs were not getting resolved.