remove realpath from output path the file does not exist so it returns false