Remove trailing whitespace.
Permit file:// URLs to be used as file paths.
Revised documentation.