added sources file support