For file accesses using resolve_file will strip `..` and help to keep us within appropriate file paths (symlinks not withstanding)