preview images for pdf files are created at upload now

added own create and destroy methods for file_assets
changed the create and destroy methods for file_assets

new way to get the paths to the pdf files