save file size in DB
add new token
refactor getToken