Add scope variable files to apFileSrc and remove console.log calls