__FILE__ is deprecated, we should use __DIR__ or __ENV__.file instead
Merge pull request #178 from guilleiguaran/fix-warnings

__FILE__ is deprecated, we should use __DIR__ or __ENV__.file instead