add not downloading file again when the file has been downloaded before
add offline avalible function for document in file detail page with switch button