Added set postmethod through filename