fileprotocol works