Resolve problem #6. Now Rails not generating empty files!