File uploading and preview working.'