my $filename = '/opt/netdb/netmacvendor/oui.txt';
open my $fh, '<', $filename
or die "Couldn't read $filename: $!";
####
file:///opt/netdb/netmacvendor/oui.txt
####
file:/opt/netdb/netmacvendor/oui.txt
####
use URI::file;
print URI::file->new('/opt/netdb/netmacvendor/oui.txt');