file tests
Added tests, added constants for file types, updated README