Change input from file to storage