Updated code style and added file selector :-)