File upload implemented, some tests were done