Fix #19: Reinitialize file elements for every file selection