#4: pre-process input when resolving from file path.