doing stuff on the file selection