Add storage checking for existing file.

Signed-off-by: Toha <tohenk@yahoo.com>
Generate extendable entity using Single Table Inheritance.

Signed-off-by: Toha <tohenk@yahoo.com>