Minor optimization on file requests