Implemented file selection