Fixed basic structure for files, added get-link for files