Get file path from input name