In my case it was space in the file name. Why doesnt arduino IDE warns at least? wasted more than an hour.