Added backgorund task for file creation but its still slow