Fix for file selection