dropping file:/// protocol from filename argument