Open file from error message