completed file upload preview functionality and basic css