Added a check for the file: protocol.
Formatting.