Initial get files code