change method that get selected file name
add save file to materila dir