File extension saving stuff