Import some works originally done for FileBank module