os check for file://