Add file name to the active list only if it's a PUT method