[AESH-249]
renamed FileResource to Resource and DefaultFileResource to FileResource
added readAttributes to Resource