added file selector, basic profile