Feature/validation

Adds ERB validation of files.