Change form input from text to file