Made file selection dialog. NOT TESTED