Feature/fetch files

Closing issue #64. Inherit metadata. Cli fixes