allowing types of file choosing , open , save