Enabled file upload;Writing utility methods