file validation

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
nasty import routine, should be moved elsewhere

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
error in import forms

Signed-off-by: Alexander Skjolden <alex@plastboks.net>